﻿<UserControl
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:sdk="http://schemas.microsoft.com/winfx/2006/xaml/presentation/sdk" x:Class="SilverAmp.TwitterExtension.TwitterExtensionView"
    mc:Ignorable="d" d:DesignWidth="565" d:DesignHeight="198">

    <Grid x:Name="LayoutRoot" d:DataContext="{d:DesignData /SampleData/TwitterExtensionViewModelSampleData.xaml}">
    	<Grid.RowDefinitions>
    		<RowDefinition Height="0.157*"/>
    		<RowDefinition Height="0.162*"/>
    		<RowDefinition Height="0.136*"/>
    		<RowDefinition Height="0.096*"/>
    		<RowDefinition Height="0.242*"/>
    		<RowDefinition Height="0.207*"/>
    	</Grid.RowDefinitions>
    	<Grid.ColumnDefinitions>
    		<ColumnDefinition Width="133"/>
    		<ColumnDefinition Width="207"/>
    		<ColumnDefinition/>
    	</Grid.ColumnDefinitions>
    	<CheckBox IsChecked="{Binding Model.AutomaticNotify, Mode=TwoWay}" Margin="8,3,4,0" VerticalAlignment="Top" Grid.Column="1" Grid.Row="3"/>
    	<PasswordBox Margin="8,2,4,1" Grid.Column="1" Grid.Row="2" d:LayoutOverrides="Height"/>
    	<TextBox TextWrapping="Wrap" Text="{Binding Model.Username, Mode=TwoWay}" Margin="8,6,4,2" Grid.Column="1" Grid.Row="1" d:LayoutOverrides="Height"/>
    	<TextBlock TextWrapping="Wrap" Margin="0,10,8,6" Text="Username" TextAlignment="Right" Grid.Row="1" d:LayoutOverrides="Height"/>
    	<TextBlock TextWrapping="Wrap" Margin="0,6,8,5" Text="Password" TextAlignment="Right" Grid.Row="2" d:LayoutOverrides="Height"/>
    	<TextBlock TextWrapping="Wrap" Margin="0,3,8,0" Text="Automatic Updates" TextAlignment="Right" Grid.Row="3" d:LayoutOverrides="Height"/>
    	<Button Content="Update" Grid.Column="1" Margin="8,4,4,3" Command="{Binding SendUpdateCommand}" Grid.Row="4" Padding="6"/>
    </Grid>
</UserControl>
